package com.syq.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author syq
 * @since 2022-07-21
 */
@TableName("pharmacy")
public class Pharmacy implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品id
     */
    @TableId(value = "pharmacy_id", type = IdType.AUTO)
    private Integer pharmacyId;

    /**
     * 药品名称
     */
    private String pharmacyName;

    /**
     * 药品库存表id
     */
    private Integer drugStoreId;

    /**
     * 经办人id
     */
    private Integer skullId;

    /**
     * 仓库id
     */
    private Integer warehouseId;

    /**
     * 单位
     */
    private Integer unit;

    /**
     * 售卖价格
     */
    private Double sellingPrice;

    /**
     * 药品产地
     */
    private Integer area;

    /**
     * 药品类型
     */
    private Integer type;

    /**
     * 生产日期
     */
    private LocalDate produceDate;

    /**
     * 有效截止日期
     */
    private LocalDate validDate;

    /**
     * 药品库存数
     */
    private Integer drugStoreNum;

    private String skullBatch;

    public Integer getPharmacyId() {
        return pharmacyId;
    }

    public void setPharmacyId(Integer pharmacyId) {
        this.pharmacyId = pharmacyId;
    }
    public String getPharmacyName() {
        return pharmacyName;
    }

    public void setPharmacyName(String pharmacyName) {
        this.pharmacyName = pharmacyName;
    }
    public Integer getDrugStoreId() {
        return drugStoreId;
    }

    public void setDrugStoreId(Integer drugStoreId) {
        this.drugStoreId = drugStoreId;
    }
    public Integer getSkullId() {
        return skullId;
    }

    public void setSkullId(Integer skullId) {
        this.skullId = skullId;
    }
    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }
    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }
    public Double getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(Double sellingPrice) {
        this.sellingPrice = sellingPrice;
    }
    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public LocalDate getProduceDate() {
        return produceDate;
    }

    public void setProduceDate(LocalDate produceDate) {
        this.produceDate = produceDate;
    }
    public LocalDate getValidDate() {
        return validDate;
    }

    public void setValidDate(LocalDate validDate) {
        this.validDate = validDate;
    }
    public Integer getDrugStoreNum() {
        return drugStoreNum;
    }

    public void setDrugStoreNum(Integer drugStoreNum) {
        this.drugStoreNum = drugStoreNum;
    }
    public String getSkullBatch() {
        return skullBatch;
    }

    public void setSkullBatch(String skullBatch) {
        this.skullBatch = skullBatch;
    }

    @Override
    public String toString() {
        return "Pharmacy{" +
            "pharmacyId=" + pharmacyId +
            ", pharmacyName=" + pharmacyName +
            ", drugStoreId=" + drugStoreId +
            ", skullId=" + skullId +
            ", warehouseId=" + warehouseId +
            ", unit=" + unit +
            ", sellingPrice=" + sellingPrice +
            ", area=" + area +
            ", type=" + type +
            ", produceDate=" + produceDate +
            ", validDate=" + validDate +
            ", drugStoreNum=" + drugStoreNum +
            ", skullBatch=" + skullBatch +
        "}";
    }
}
